package day0108;

public class Test6 {

    public static void main(String[] args) {
        String rs=judgeScore(101);
        System.out.println(rs);
    }
    static  String  judgeScore(double score){
        if(0<=score&&score<=60){
            return "不及格";
        }else if(60<=score&&score<=75){
            return "中等";
        }else if(75<=score&&score<=85){
            return "良好";
        }else if(85<=score&&score<=100){
            return "优秀";
        }else {
            return "成绩不合法";
        }
    }
}
